package com.joysuch.wwyt.bp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.bp.entity.BpInvestigateTaskSummaryHis;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author heqifeng
 * @since 2022-06-13
 */
public interface BpInvestigateTaskSummaryHisMapper extends BaseMapper<BpInvestigateTaskSummaryHis> {

    List<BpInvestigateTaskSummaryHis> getMoveSummaryIds(@Param("endDate") Date endDate, @Param("limit") boolean limit);

    long copyHisSummaryToYearSummaryByIds(@Param("summaryIds") List<Long> summaryIds, @Param("year") String year);

    void deleteHisSummaryByIds(@Param("summaryIds") List<Long> summaryIds);

}
